//
//  CViewController.m
//  TabBar框架
//
//  Created by MyMac on 15/9/24.
//  Copyright (c) 2015年 tongfang. All rights reserved.
//

#import "CViewController.h"
#import "ContentViewController.h"
@interface CViewController ()

@end

@implementation CViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.view.backgroundColor=[UIColor yellowColor];
    self.title=@"C";
  }
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    ContentViewController*content=[[ContentViewController alloc]init];
    //self.tabBarController.tabBar.hidden=YES;
    [self.navigationController pushViewController:content animated:YES];



}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
